
<!DOCTYPE html>
<html>

<head>
   
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>我的办公用品申请单</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<link href="__STATIC__/layout/css/channel.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">


    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>
   
    </style>

</head>

<body class="white-bg" style="padding: 3px;">
    <form action="" class="form-inline">
        <table class="table table-bordered bud_hei">
           <tr>
              <td style="min-width: 140px">流水号：</td>
              <td></td>
              <td style="min-width: 140px">岗位名称<span class="colorRed">*</span>：</td>
              <td><input type="text" class="form-control" name=""></td>
              <td style="min-width: 140px">对外称谓<span class="colorRed">*</span>：</td>
              <td><input type="text" class="form-control" name=""></td>
           </tr>
            <tr>
              <td>岗位编码<span class="colorRed">*</span>：</td>
              <td><input type="text" class="form-control" name=""></td>
              <td>岗位等级<span class="colorRed">*</span>：</td>
              <td><input type="text" class="form-control" name=""></td>
              <td>上级岗位：</td>
              <td>
                  <div class="input-group">
                            <input id="area_id" type="text" placeholder="请输入关键字或空格查询"
                                   class="form-control" value="" style="min-width: 200px;width: 200px">
                            <div class="input-group-btn">
                                <ul class="dropdown-menu dropdown-menu-right" role="menu">
                                </ul>
                            </div>
                        </div>
                    <a href="javascript:;" id="select_sj" class="btn btn-primary btn-sm">选择</a>
              </td>
           </tr>
           <tr>
            <td>所属公司<span class="colorRed">*</span>:</td>
            <td>
                <select name="" id="" class="form-control select">
                    <option value="0">请选择</option>
                    <option value="1">广州销路通软件公司</option>
                    <option value="2">A公司</option>
                    <option value="3">测试甲方名称</option>
                    <option value="4">B公司</option>
                </select>
            </td>
            <td>所属部门<span class="colorRed">*</span></td>
            <td colspan="3">
                 <div class="input-group">
                            <input id="depart_id" type="text" placeholder="请输入关键字或空格查询"
                                   class="form-control" value="" style="min-width: 200px;width: 200px">
                            <div class="input-group-btn">
                                <ul class="dropdown-menu dropdown-menu-right" role="menu">
                                </ul>
                            </div>
                        </div>
                    <a href="javascript:;" id="select_depart" class="btn btn-primary btn-sm">选择</a>
            </td>
           </tr>
           <tr>
            <td></td>
            <td colspan="5"></td>
           </tr>
           <tr>
            <td class="info font-bold" colspan="6">工作任务与职责（主次分明地概括说明工作内容、职责，应与其他类似岗位有区别）<span class="colorRed">*</span></td>
           </tr>
           <tr>
             <td colspan="6">
                <textarea name="" id="" style="width: 85%;height: 70px;resize:none;" class="form-control"></textarea>
             </td>
           </tr>
           <tr>
            <td class="info font-bold" colspan="6">工作的权限与责任（工作职权范围及限制内容）<span class="colorRed">*</span></td>
           </tr>
           <tr>
             <td colspan="6">
                <textarea name="" id="" style="width: 85%;height: 70px;resize:none;" class="form-control"></textarea>
             </td>
           </tr>
            <tr>
            <td class="info font-bold" colspan="6">任职资格（工作必需的知识技能，学历或特殊要求等）<span class="colorRed">*</span></td>
           </tr>
           <tr>
             <td colspan="6">
                <textarea name="" id="" style="width: 85%;height: 70px;resize:none;" class="form-control"></textarea>
             </td>
           </tr>
            <tr>
            <td class="info font-bold" colspan="6">考核标准（考核工作的关键因素或绩效标准）<span class="colorRed">*</span></td>
           </tr>
           <tr>
             <td colspan="6">
                <textarea name="" id="" style="width: 85%;height: 70px;resize:none;" class="form-control"></textarea>
             </td>
           </tr>
            <tr>
            <td class="info font-bold" colspan="6">其他说明<span class="colorRed">*</span></td>
           </tr>
           <tr>
             <td colspan="6">
                <textarea name="" id="" style="width: 85%;height: 70px;resize:none;" class="form-control"></textarea>
             </td>
           </tr>
        </table>
          <div class="form-group white-bg" style="margin:20px 10px 20px 20px;">
            <div id="uploader" class="wu-example">
                <!--用来存放文件信息-->
                <div id="thelist" class="uploader-list">
                                   </div>
                <div class="btns">
                    <div id="picker">选择文件</div>
                    <button id="ctlBtn" class="btn btn-default">开始上传</button>
                </div>
                <input type="hidden" name="attach" id="attach"  >
            </div>
            <span>注：最多上传15个文件，每个文件小于50M,支持格式：</span><br>jpg,bnp,gif,png,jpeg,tif,raw,doc,docx,xls,xlsx,ppt,pptx,txt,pdf,rar,zip,mp4,avi,rmvb,rm,mid,3gp,AVI,3GP,,mpg,mp3,wma,wav
        </div>

        <div class="padding-10 text-center"><button class="btn btn-primary" type="submit">保存为草稿</button><span class="lr_5"></span><button class="btn btn-success" type="button" id="save">保存并提交工作流</button><span class="lr_5"></span><button class="btn btn-sm btn-warning" type="button" onclick="back()">返回</button></div>

    </form>
  
<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
<!-- <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script> -->
<script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script src="__STATIC__/layout/js/plugins/suggest/bootstrap-suggest.min.js"></script>

<script>
    $(function () {
        $('body').on('click','input[type=text]',function () {
            this.select()
        });
      
    })
      function back(){
            history.go(-1)
        }
</script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
<script>
 var jieshou = $("#area_id");
 var jieshou1 = $("#depart_id");
 sousuo(jieshou);
 sousuo(jieshou1);
       function sousuo(id){
            id.bsSuggest({
            allowNoKeyword: false, //是否允许无关键字时请求数据
            multiWord: true, //以分隔符号分割的多关键字支持
            separator: ",", //多关键字支持时的分隔符，默认为空格
            getDataMethod: "url", //获取数据的方式，总是从 URL 获取
            url: 'http://unionsug.baidu.com/su?p=3&t=' + (new Date()).getTime() + '&wd=',
            /*优先从url ajax 请求 json 帮助数据，注意最后一个参数为关键字请求参数*/
            jsonp: 'cb',
            /*如果从 url 获取数据，并且需要跨域，则该参数必须设置*/
            processData: function (json) { // url 获取数据时，对数据的处理，作为 getData 的回调函数
                var i, len, data = {
                    value: []
                };
                if (!json || !json.s || json.s.length === 0) {
                    return false;
                }

                // console.log(json);
                len = json.s.length;

                jsonStr = "{'value':[";
                for (i = 0; i < len; i++) {
                    data.value.push({
                        word: json.s[i]
                    });
                }
                data.defaults = 'baidu';

                //字符串转化为 js 对象
                return data;
            }
        });

          }

</script>
</body>

</html>